<template>
  <div class="container">
    <form-panel :ok-click="okClick">
      <form-input></form-input>
    </form-panel>
  </div>
</template>

<script>
import FormPanel from '@/components/formPanel/FormPanel'
import FormInput from '@/views/demo/FormInput'

export default {
  name: 'DemoFormPanel',
  components: {
    FormPanel,
    FormInput
  },
  methods: {
    okClick() {
      alert(1)
    }
  }
}
</script>
<style lang="scss" scoped>
.container {
  background-image: radial-gradient(50% 95%, #003871 50%, #002a52 95%);
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
</style>
